﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Areas/Admin/Views/Shared/_Layout.cshtml";
}

<div class="main-wrap">
    <div class="crumb-wrap">
        <div class="crumb-list"><i class="icon-font">&#xe06b;</i><span>欢迎登录。</span></div>
    </div>

    <div class="result-wrap">
        <div class="result-title">
            <h1>快捷操作</h1>
        </div>
        <div class="result-content">
            <div class="short-wrap">
                <a href="@(Url.Action("Add","Article"))"><i class="icon-font">&#xe005;</i>新增文章</a>
                <a href="@(Url.Action("Add","Category"))"><i class="icon-font">&#xe048;</i>新增分类</a>
            </div>
        </div>
    </div>
    @*
        <div class="result-wrap">
            <div class="result-title">
                <h1>系统基本信息</h1>
            </div>
            <div class="result-content">
                <ul class="sys-info-list">
                    <li>
                        <label class="res-lab">操作系统</label><span class="res-info">WINNT</span>
                    </li>
                    <li>
                        <label class="res-lab">运行环境</label><span class="res-info">Apache/2.2.21 (Win64) PHP/5.3.10</span>
                    </li>
                    <li>
                        <label class="res-lab">PHP运行方式</label><span class="res-info">apache2handler</span>
                    </li>
                    <li>
                        <label class="res-lab">静静设计-版本</label><span class="res-info">v-0.1</span>
                    </li>
                    <li>
                        <label class="res-lab">上传附件限制</label><span class="res-info">2M</span>
                    </li>
                    <li>
                        <label class="res-lab">北京时间</label><span class="res-info">2014年3月18日 21:08:24</span>
                    </li>
                    <li>
                        <label class="res-lab">服务器域名/IP</label><span class="res-info">localhost [ 127.0.0.1 ]</span>
                    </li>
                    <li>
                        <label class="res-lab">Host</label><span class="res-info">127.0.0.1</span>
                    </li>
                </ul>
            </div>
        </div>*@
    <div class="result-wrap">
        <div class="result-title">
            <h1>使用帮助</h1>
        </div>
        <div class="result-content">
            @*
            <ul class="sys-info-list">
                @{
                    var a = 0x00;
                    var b = 0x6d;

                }
                <li>
                    @for (var i = a; i <= b; i++)
                    {
                        string hex = $"{i:X}";
                        if (hex.Length < 2)
                        {
                            hex = "0" + hex;
                        }
                        <span style="width: 100px; margin-right: 30px;">
                            <i class="icon-font">&#xe0@(hex);</i> xe0@(hex)
                        </span>

                    }
                </li>
                <li>
                    暂无
                </li>

            </ul>
            *@
        </div>
    </div>
</div>